//
//  KLSGRecommendTool.h
//  KaoLaShiGuangFM
//
//  Created by lanou3g on 15/10/28.
//  Copyright © 2015年 com.lanou3g. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "KLSGRecommendModel.h"
#import "KLSGEditorReModel.h"

@interface KLSGRecommendTool : NSObject<NSURLSessionDataDelegate, NSURLSessionDelegate>

@property (nonatomic, strong) NSMutableDictionary *dataDic;
@property (nonatomic, strong) NSMutableDictionary *hotDic; // 热播
@property (nonatomic, strong) NSMutableArray *titles; // 分区头
@property (nonatomic, strong) NSMutableArray *banner; // 轮播图
@property (nonatomic, strong) NSMutableDictionary *categorys; // 分类

- (void)updataWithBlack:(void(^)())block withFailBlock:(void(^)())failBlock;
- (KLSGRecommendModel *)getModelWithIndexPath:(NSIndexPath *)indexPath;

- (void)setupEditorReDataWithUrl:(NSString *)urlStr  successBlock:(void(^)(NSData *data))block failBlock:(void(^)())failBlock;

@end
